Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 234 for cloneOf (0.54 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(cifsContext.getCredentials()).thenReturn(credentials);
            when(credentials.unwrap(CredentialsInternal.class)).thenReturn(credentialsInternal);
            when(credentialsInternal.clone()).thenReturn(credentialsInternal);
    
            // Transport wiring - used by most tests
            when(transport.acquire()).thenReturn(transport);
            when(transport.getContext()).thenReturn(cifsContext);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        private final LongAddable bitCount;
    
        LockFreeBitArray(long bits) {
          checkArgument(bits > 0, "data length is zero!");
          // Avoid delegating to this(long[]), since AtomicLongArray(long[]) will clone its input and
          // thus double memory usage.
          this.data =
              new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING)));
          this.bitCount = LongAddables.create();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            byte[] buffer = new byte[256];
            // Fill buffer with test pattern
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i & 0xFF);
            }
            byte[] originalBuffer = buffer.clone();
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, 10);
    
            // Then
            assertEquals(0, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/zh-CN/README.md

    ## 脚本
    
     - [Groovy](https://github.com/codelibs/fess-script-groovy)
     - [OGNL](https://github.com/codelibs/fess-script-ognl)
    
    ## 开发信息
    
    ### 获取源代码
    
    1. 克隆 Fess 的存储库:
        ```
        $ cd ~/workspace
        $ git clone https://github.com/codelibs/fess.git
        ```
        
    2. 将克隆的存储库作为 [Maven](https://maven.apache.org/) 项目导入 [Eclipse](https://www.eclipse.org/eclipseide/) 或其他 IDE。
    
    ### 设置 OpenSearch 插件
    
    运行 antrun:run 将插件下载到插件目录:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testEqaulas() throws Exception {
            @SuppressWarnings("unchecked")
            Map<String, String> copy = (ArrayMap<String, String>) map.clone();
            assertThat(map.equals(copy), is(true));
            assertThat(map.equals(null), is(not(true)));
            map.put("3", "test3");
            assertThat(map.equals(copy), is(not(true)));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            return output;
        }
    
        private static byte[] getHmac(byte[] data, byte[] key) throws GeneralSecurityException {
            Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM);
            Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM);
            mac.init(macKey);
            return mac.doFinal(data);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                    return true;
                }
            }
            return false;
        }
    
        @Override
        public int[] getSupportedAlgorithms() {
            return SUPPORTED_ALGORITHMS.clone();
        }
    
        @Override
        public double estimateCompressionRatio(byte[] data, int algorithm) {
            if (data == null || data.length == 0) {
                return 1.0;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.next = header;
            header.previous = header;
            for (int i = 0; i < size; i++) {
                addLast((E) s.readObject());
            }
        }
    
        @Override
        public Object clone() {
            final SLinkedList<E> copy = new SLinkedList<>();
            for (Entry e = header.next; e != header; e = e.next) {
                copy.addLast(e.element);
            }
            return copy;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableMap.java

              // entryArray) in the Kotlin translation.
              Entry<K, V>[] originalEntries = entries;
              entries = originalEntries.clone();
            }
          }
          entries[entryIndex] = effectiveEntry;
        }
        if (duplicates != null) {
          // Explicit type parameters needed here to avoid a problem with nullness inference.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. api/go1.18.txt

    pkg runtime/debug, type BuildSetting struct
    pkg runtime/debug, type BuildSetting struct, Key string
    pkg runtime/debug, type BuildSetting struct, Value string
    pkg strings, func Clone(string) string
    pkg strings, func Cut(string, string) (string, string, bool)
    pkg strings, func Title //deprecated
    pkg sync, method (*Mutex) TryLock() bool
    pkg sync, method (*RWMutex) TryLock() bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top