Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 613 for adjust (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
         * seenExceptionsField always contains not just the current thread's exception but also the
         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
        if (seenExceptionsLocal == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/CharEscaper.java

        for (; index < slen; index++) {
    
          // Get a replacement for the current character.
          char[] r = escape(s.charAt(index));
    
          // If no replacement is needed, just continue.
          if (r == null) {
            continue;
          }
    
          int rlen = r.length;
          int charsSkipped = index - lastEscape;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceLocatorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
            private final String host;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		if lastUpdate.IsZero() {
    			lastUpdate = ss.meta.ExpiryLCConfigUpdatedAt
    			latestID = dID
    			latestExpLCConfig = ss.meta.ExpiryLCConfig
    		}
    		// avoid considering just created buckets as latest. Perhaps this site
    		// just joined cluster replication and yet to be sync'd
    		if ss.meta.CreatedAt.Equal(ss.meta.ExpiryLCConfigUpdatedAt) {
    			continue
    		}
    		if ss.meta.ExpiryLCConfigUpdatedAt.After(lastUpdate) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Test duplicate unregistration
            assertFalse(mockService.unregisterWitness(regId));
        }
    
        @Test
        void testMockServiceNotifications() {
            // Test notification sending (just logs for mock)
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
    
            // Register a witness first
            String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

         */
        public synchronized boolean disconnect(boolean hard, final boolean inUse) throws IOException {
            IOException ioe = null;
    
            switch (this.state) {
            case 0: /* not connected - just return */
            case 5:
            case 6:
                return false;
            case 2:
                hard = true;
            case 3: /* connected - go ahead and disconnect */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    //
    // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is
    // sufficient to initialize a [Buffer].
    func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} }
    
    // NewBufferString creates and initializes a new [Buffer] using string s as its
    // initial contents. It is intended to prepare a buffer to read an existing
    // string.
    //
    // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putShort((short) 0x0100)
            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
      }
    
      public void testHashFloatIsStable() {
        // Just a spot check.  Better than nothing.
        Hasher hasher = HASH_FN.newHasher();
        hasher.putFloat(0x01000101f).putFloat(0f);
        assertEquals(0x49f9d18ee8ae1b28L, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE);
            assertNotNull(decrypted);
            // With dummy data, we can't verify the content, just that it decrypts without error
            // and returns a result of the expected size.
            assertEquals(data.length - 24, decrypted.length);
        }
    
        /**
         * Test decrypt with an unsupported encryption type.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex_test.go

    			"A",
    		),
    		"1234.\n",
    	},
    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    		"#define A() 1234\n" + "A()\n",
    		"1234.\n",
    	},
    	{
    		"macro with just parens as body",
    		"#define A () \n" + "A\n",
    		"(.).\n",
    	},
    	{
    		"macro with parens but no arguments",
    		"#define A (x) \n" + "A\n",
    		"(.x.).\n",
    	},
    	{
    		"macro with arguments",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top