Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4011 - 4020 of 4,322 for nulls (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

     * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt).
     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
      private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet()
    
      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

                new Foo("a", 1, TriState.TRUE),
                new Foo("a", 2, TriState.TRUE),
                new Foo("b", 1, TriState.FALSE),
                new Foo("b", 1, TriState.TRUE),
                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
            int comparedUsingComparisonChain = signum(comparatorUsingComparisonChain.compare(a, b));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          }
        }
        out.close();
    
        // Check that source returns the right data
        assertThat(source.read()).isEqualTo(data);
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
      public void testThreshold_resetOnFinalize() throws Exception {
        testThreshold(0, 100, true, true);
        testThreshold(10, 100, true, true);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(null);
          assertThat(Resources.getResource("com/google/common/io/testdata/i18n.txt")).isNotNull();
          assertThrows(IllegalArgumentException.class, () -> Resources.getResource("no such resource"));
        } finally {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
        /**
         * Releases and returns the transaction buffer
         * @return the txn_buf
         */
        public byte[] releaseBuffer() {
            final byte[] buf = this.txn_buf;
            this.txn_buf = null;
            return buf;
        }
    
        /**
         * Gets the transaction subcommand
         * @return the subCommand
         */
        public final byte getSubCommand() {
            return this.subCommand;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                UpgradeResult result = orchestrator.executeStrategies(context, pomMap);
    
                // The orchestrator may handle exceptions gracefully and continue
                assertNotNull(result, "Result should not be null");
                // We can't guarantee failure behavior without knowing the exact implementation
            }
        }
    
        @Nested
        @DisplayName("Strategy Ordering")
        class StrategyOrderingTests {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3");
        }
    
        @AfterAll
        static void tearDownClass() {
            // Restore original property
            if (originalLmCompatibility != null) {
                jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);
            } else {
                System.clearProperty("jcifs.smb1.smb.lmCompatibility");
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                return false;
            }
    
            UpgradedProperty method = currentMethods.get(AccessorKey.ofNewMethod(jApiMethod));
            if (method != null) {
                String propertyName = method.getPropertyName();
                String isGetterName = "is" + Character.toUpperCase(propertyName.charAt(0)) + propertyName.substring(1);
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x00, buffer[4]);
            assertEquals(0x00, buffer[5]);
    
            // Check that filename is written correctly (starting at offset 6)
            // The filename should be null-terminated Unicode string
            assertTrue(written > 6);
    
            // Verify the total bytes written is reasonable
            assertTrue(written > TEST_FILENAME.length());
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    		},
    	}, {
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "bad-null.txt",
    				Xattrs:   map[string]string{"null\x00null\x00": "fizzbuzz"},
    			}, headerError{}},
    		},
    	}, {
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "null\x00.txt",
    			}, headerError{}},
    		},
    	}, {
    		file: "testdata/pax-records.tar",
    		tests: []testFnc{
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 40.2K bytes
    - Viewed (0)
Back to top