Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,278 for just (0.02 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

       */
      public static String join(String separator, boolean... array) {
        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                // Verify each context was encoded
                assertTrue(offset > 0);
                // The actual encoded size might be different from size() due to padding
                // Just verify that we encoded something for each context
                for (CreateContextRequest context : contexts) {
                    assertNotNull(context.getName());
                }
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
          // Traverse underlying queue to find == element,
          // not just a .equals element.
          monitor.enter();
          try {
            for (Iterator<E> it = q.iterator(); it.hasNext(); ) {
              if (it.next() == x) {
                it.remove();
                return;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

         */
    
        @Override
        public void write(final byte[] b, final int off, final int len) throws IOException {
            writeDirect(b, off, len, 0);
        }
    
        /**
         * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
         *
         * @param b the byte array containing the data to write
         * @param off the start offset in the data
         * @param len the number of bytes to write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = Lmhosts.getByName(name);
                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
            // For small strings, gzip overhead might make compressed data larger
            // So we just verify that compression/decompression works correctly
            assertNotNull(compressed);
            assertTrue(compressed.length > 0);
        }
    
        // Helper methods for creating mock objects
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Execute send - should retry after transport error
            try {
                c.send(loc, req, resp, EnumSet.noneOf(RequestParam.class));
            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
            Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds);
            /*
             * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
             * just one problem: Under all the JDK versions that we support (though *not* under
             * Android), the built-in TypeVariable's equals() method doesn't recognize instances of our
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            if (startBracket != -1 && endBracket != -1 && endBracket > startBracket) {
                return transportStr.substring(startBracket + 1, endBracket);
            }
            // Fallback: just use address
            return transport.getRemoteAddress().getHostAddress();
        }
    
        /**
         * Get connection key from address and port
         */
        private String getConnectionKey(Address address, int port) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top