Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,159 for updated2 (0.04 sec)

  1. tests/lru_test.go

    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key1", 2)
    
    	if value, ok := lru.Get("key1"); !ok || value != 2 {
    		t.Errorf("Expected value to be updated to 2, got %v", value)
    	}
    }
    
    func TestLRU_Add_NewKey_AddsEntry(t *testing.T) {
    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    
    	if value, ok := lru.Get("key1"); !ok || value != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                when(mockBuffer.dec_ndr_short()).thenReturn(0);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should update value to zero
                verify(mockBuffer).dec_ndr_short();
                assertEquals(0, ndrShort.value);
            }
    
            @Test
            @DisplayName("Should decode negative value correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
       * of reads and delaying a lock acquisition until the threshold is crossed or a mutation occurs.
       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T23:54:28.442998301Z"
        },
        "mygroup": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-23T21:34:43.66922872Z"
        },
        "cn=project.c,ou=groups,OU=swengg,DC=min,DC=io": {
            "version": 0,
            "policy": "consoleAdmin",
            "updatedAt": "2024-04-17T20:54:28.442998301Z"
        }
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  5. cmd/metacache_test.go

    			}
    
    			got := tt.finished()
    			if got != want {
    				t.Errorf("#%d: want %v, got %v", i, want, got)
    			}
    		})
    	}
    }
    
    func Test_metacache_worthKeeping(t *testing.T) {
    	// TODO: Update...
    	wantResults := []bool{0: true, 1: true, 2: true, 3: false, 4: false, 5: true, 6: true, 7: false, 8: false}
    
    	for i, tt := range metaCacheTestset {
    		t.Run(tt.id, func(t *testing.T) {
    			var want bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Wraps an active project instance to be able to receive updates from its artifact without affecting the original
     * attributes of this artifact.
     *
     * TODO I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/mdo/profiles.mdo

              <defaultValue>true</defaultValue>
            </field>
            <field>
              <name>updatePolicy</name>
              <version>1.0.0</version>
              <description>
                The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or
                "never" (only if it doesn't exist locally).
              </description>
              <type>String</type>
            </field>
            <field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. ci/devinfra/docker/windows/Dockerfile

        Expand-Archive -Path 'C:\Temp\google-cloud-sdk.zip' -DestinationPath $env:ProgramFiles -Verbose:$false
    RUN & \"$env:ProgramFiles\\google-cloud-sdk\\install.bat\" --path-update false
    RUN $env:Path += \";$env:ProgramFiles\\google-cloud-sdk\\bin\"; \
        [Environment]::SetEnvironmentVariable('Path', $env:Path, [EnvironmentVariableTarget]::Machine);
    # Re-enable prompts for interactive use.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:35:57 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            }
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(guid, 0);
    
            // Assertions
            // When CAP_EXTENDED_SECURITY is set, it only copies GUID but doesn't update bufferIndex
            assertEquals(0, bytesRead);
            assertArrayEquals(guid, serverData.guid);
            assertEquals("", serverData.oemDomainName);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top