/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 15 this.input = input; 16 this.output = output; 54 this.input.close(); 55 this.output.close();
|
/external/jmdns/src/javax/jmdns/impl/ |
SocketListener.java | 30 this.setDaemon(true); 31 this._jmDNSImpl = jmDNSImpl; 39 while (!this._jmDNSImpl.isCanceling() && !this._jmDNSImpl.isCanceled()) { 41 this._jmDNSImpl.getSocket().receive(packet); 42 if (this._jmDNSImpl.isCanceling() || this._jmDNSImpl.isCanceled() || this._jmDNSImpl.isClosing() || this._jmDNSImpl.isClosed()) { 46 if (this._jmDNSImpl.getLocalHost().shouldIgnorePacket(packet)) [all...] |
DNSOutgoing.java | 36 this(size, out, 0); 46 this.write(value & 0xFF); 136 _out._names.put(aName, Integer.valueOf(this.size() + _offset)); 161 MessageOutputStream record = new MessageOutputStream(512, _out, _offset + this.size() + 2); 172 * This can be used to turn off domain name compression. This was helpful for tracking problems interacting with other mdns implementations. 196 this(flags, true, DNSConstants.MAX_MSG_TYPICAL); 206 this(flags, multicast, DNSConstants.MAX_MSG_TYPICAL); 221 _questionsBytes = new MessageOutputStream(senderUDPPayload, this); 222 _answersBytes = new MessageOutputStream(senderUDPPayload, this); [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LRUCache.java | 7 // This module is multi-licensed and may be used under the terms
19 // This module is provided "as is", without warranties of any kind.
29 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).
34 * This class is thread-safe. All methods of this class are synchronized.
50 * the maximum number of entries that will be kept in this cache.
53 this.cacheSize = cacheSize;
55 this.map = new LinkedHashMap<K, V>(hashTableCapacity, LRUCache.hashTableLoadFactor, true) {
62 return this.size() > LRUCache.this.cacheSize; [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
NoiseAggregator.java | 9 * - Redistributions of source code must retain the above copyright notice, this
13 * this list of conditions and the following disclaimer in the documentation
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
48 this.a = a;
49 this.b = b;
50 this.rate = rate;
55 this.a.init();
56 this.b.init();
61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PriorityParser.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 77 this.lexer.SPorHT(); 78 /*this.lexer.match(TokenTypes.ID); 83 // This is in violation of the RFC but 85 priority.setPriority(this.lexer.ttokenSafe()); 87 this.lexer.SPorHT(); 88 this.lexer.match('\n') [all...] |
Pipeline.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 64 this.pipeline = pipeline; 68 if (this.isCancelled) 80 this.isCancelled = true; 95 this.length = length; 96 this.bytes = bytes; 107 if (this.readTimeout == -1 [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMTreeWalker.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 31 * This class does a pre-order walk of the DTM tree, calling a ContentHandler 35 * I think normally this class should not be needed, because 45 /** DomHelper for this TreeWalker */ 93 this.m_contentHandler = contentHandler; 108 // %REVIEW% Why isn't this just traverse(pos,pos)? 110 int top = pos; // Remember the root of this subtree 131 // %REVIEW% This condition isn't tested in traverse(pos,top [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 16 * This class represents a surface described by knots, weights and control points.
42 this.validateInputData(controlPoints, nurbKnots, uSegments, vSegments);
43 this.type = SplineType.Nurb;
44 this.uSegments = uSegments;
45 this.vSegments = vSegments;
46 this.controlPoints = controlPoints;
47 this.knots = nurbKnots;
48 this.basisUFunctionDegree = basisUFunctionDegree;
51 this.basisVFunctionDegree = basisVFunctionDegree;
55 this.buildSurface(); [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5Proxy.java | 3 * you may not use this file except in compliance with the License.
57 * This Implementation has the following limitations:
95 this.serverProcess = new Socks5ServerProcess();
99 this.localAddresses.add(InetAddress.getLocalHost().getHostAddress());
123 * Starts the local SOCKS5 proxy server. If it is already running, this method does nothing.
134 this.serverSocket = new ServerSocket(port + i);
143 this.serverSocket = new ServerSocket(SmackConfiguration.getLocalSocks5ProxyPort());
146 if (this.serverSocket != null) {
147 this.serverThread = new Thread(this.serverProcess); [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 76 this.outstream = outstream; 77 this.buffer = new ByteArrayBuffer(buffersize); 78 this.charset = HttpProtocolParams.getHttpElementCharset(params); 79 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) 80 || this.charset.equalsIgnoreCase(HTTP.ASCII) [all...] |
ContentLengthOutputStream.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 84 this.out = out; 85 this.contentLength = contentLength; 94 if (!this.closed) { 95 this.closed = true; 96 this.out.flush(); 101 this.out.flush() [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
CalculationBone.java | 12 * The purpose of this class is to imitate bone's movement when calculating inverse kinematics.
30 this.bone = bone;
31 this.startRotation = bone.getModelSpaceRotation().clone();
32 this.startTranslation = bone.getModelSpacePosition().clone();
33 this.startScale = bone.getModelSpaceScale().clone();
34 this.reset();
36 this.translations = new Vector3f[boneFramesCount];
37 this.rotations = new Quaternion[boneFramesCount];
38 this.scales = new Vector3f[boneFramesCount];
40 Arrays.fill(this.translations, 0, boneFramesCount, this.startTranslation); [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 83 if (!eles[i].getClassName().equals(this.getClass().getName())) { 87 this.callStack.push(eles[i]); 96 return this.callStack.peek().getClassName(); 105 return this.callStack.peek().getMethodName(); 114 this.callStack.clear(); 125 * Pushes a boolean onto the top of this stack. 131 this.push(new BaseTypeWrapper(val)) [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 62 this.inTransportMetric = inTransportMetric; 63 this.outTransportMetric = outTransportMetric; 69 if (this.inTransportMetric != null) { 70 return this.inTransportMetric.getBytesTransferred(); 77 if (this.outTransportMetric != null) { 78 return this.outTransportMetric.getBytesTransferred() [all...] |
SocketHttpClientConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 68 if (this.open) { 74 if (!this.open) { 102 this.socket = socket; 111 this.open = true; 115 return this.open; 119 return this.socket [all...] |
SocketHttpServerConnection.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 68 if (this.open) { 74 if (!this.open) { 100 this.socket = socket; 109 this.open = true; 113 return this.socket; 117 return this.open [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 77 /** The route for which this entry gets allocated. */ 93 * @param connOperator the Connection Operator for this entry 103 this.connOperator = connOperator; 104 this.connection = connOperator.createConnection(); 105 this.route = route; 106 this.tracker = null [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Constraint.java | 23 /** The name of this constraint. */
37 * This constructor creates the constraint instance.
48 * this exception is thrown when the blender file is somehow
53 this.blenderContext = blenderContext;
54 this.name = constraintStructure.getFieldValue("name").toString();
65 this.target = new Feature(target, targetSpace, targetOMA, blenderContext);
67 this.target = null;
73 this.owner = new Feature(ownerSpace, ownerOMA, blenderContext);
74 this.ipo = influenceIpo;
78 * This method bakes the required sontraints into its owner. [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 50 this.getTinAndAlpha(data, format, neg, tinAndAlpha);
51 this.blendPixel(resultPixel, materialColor, color, tinAndAlpha[0], affectFactor, blendType, blenderContext);
67 * This method return texture intensity and alpha value.
104 * This method blends the texture with an appropriate color.
215 this.blendHSV(blendtype, result, textureIntensity, color, blenderContext);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 57 this.channel1 = SocketChannel.open(); 58 this.channel2 = SocketChannel.open(); 59 this.server1 = new ServerSocket(0); 60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress(); 65 if (null != this.channel1) { 67 this.channel1.close(); 72 if (null != this.channel2) [all...] |
/libcore/support/src/test/java/tests/util/ |
CallVerificationStack.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 83 if (!eles[i].getClassName().equals(this.getClass().getName())) { 87 this.callStack.push(eles[i]); 96 return this.callStack.peek().getClassName(); 105 return this.callStack.peek().getMethodName(); 114 this.callStack.clear(); 125 * Pushes a boolean onto the top of this stack. 131 this.push(new BaseTypeWrapper(val)) [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitTestSuite.java | 10 notice, this list of conditions and the following disclaimer. 12 notice, this list of conditions and the following disclaimer in the 15 derived from this software without specific prior written permission. 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 this.rule = rule; 54 this.rule = rule; 55 this.treeRule = treeRule; 58 public void setRuleName(String ruleName) { this.rule = ruleName; } 59 public void setLexicalRuleName(String lexicalRule) { this.lexicalRule = lexicalRule; this.isLexicalRule = true; [all...] |
/external/apache-http/src/org/apache/http/conn/params/ |
ConnPerRouteBean.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 39 * This class maintains a map of HTTP routes to maximum number of connections allowed 40 * for those routes. This class can be used by pooling 61 this.maxPerHostMap = new HashMap<HttpRoute, Integer>(); 66 this(DEFAULT_MAX_CONNECTIONS_PER_ROUTE); 70 return this.defaultMax; 78 this.defaultMax = max [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 40 * This class implements throwaway objects. It is instantiated whenever 46 * Instances of this class do <i>not</i> synchronize access! 62 /** True if this was interrupted. */ 79 this.cond = cond; 80 this.pool = pool; 91 return this.cond [all...] |