Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 563 for compat (0.03 sec)

  1. guava/src/com/google/common/collect/ComparisonChain.java

            public ComparisonChain compare(int left, int right) {
              return classify(Integer.compare(left, right));
            }
    
            @Override
            public ComparisonChain compare(long left, long right) {
              return classify(Long.compare(left, right));
            }
    
            @Override
            public ComparisonChain compare(float left, float right) {
              return classify(Float.compare(left, right));
            }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        // b/80241237
    
        Cache<String, String> c = CacheBuilder.newBuilder().maximumSize(1).build();
    
        assertThat(c.asMap().compute("hash-1", (k, v) -> "a")).isEqualTo("a");
        assertThat(c.asMap().compute("hash-1", (k, v) -> "b")).isEqualTo("b");
        assertThat(c.asMap().compute("hash-1", (k, v) -> "c")).isEqualTo("c");
        assertThat(c.size()).isEqualTo(1);
        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

                }
            } else {
                println(" -> is not a merge commit we're looking for.")
            }
        }
    
        static List<String> filesFromMerge(String commit) {
            getStdout("git diff --name-only $commit^1..$commit").readLines()
        }
    
        static List<String> branchesOf(String commit) {
            return getStdout("git branch -r --contains $commit")
                .readLines()
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		// Remove top entry and subtract removed children.
    		remove -= removing
    		leaves = leaves[1:]
    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    // When above the limit a cleanup will also be performed to remove any possible abandoned entries.
    func (d *dataUsageCache) forceCompact(limit int) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. .github/dependabot.yml

    version: 2
    updates:
      # GitHub Actions
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
          interval: "daily"
        commit-message:
          prefix: ⬆
      # Python
      - package-ecosystem: "pip"
        directory: "/"
        schedule:
          interval: "monthly"
        commit-message:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Apr 19 00:41:55 UTC 2024
    - 311 bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.28.md

    - github.com/seccomp/libseccomp-golang: [f33da4d → v0.10.0](https://github.com/seccomp/libseccomp-golang/compare/f33da4d...v0.10.0)
    - github.com/spf13/cobra: [v1.6.0 → v1.7.0](https://github.com/spf13/cobra/compare/v1.6.0...v1.7.0)
    - github.com/stretchr/testify: [v1.8.1 → v1.8.2](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 456.9K bytes
    - Viewed (1)
  7. api/go1.21.txt

    pkg slices, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433
    pkg slices, func Compact[$0 interface{ ~[]$1 }, $1 comparable]($0) $0 #57433
    pkg slices, func CompactFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) bool) $0 #57433
    pkg slices, func Compare[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0, $0) int #60091
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.34.md

    - github.com/spf13/cobra: [v1.8.1 → v1.9.1](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1)
    - github.com/spf13/pflag: [v1.0.5 → v1.0.6](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6)
    - github.com/vishvananda/netlink: [62fb240 → v1.3.1](https://github.com/vishvananda/netlink/compare/62fb240...v1.3.1)
    - github.com/vishvananda/netns: [v0.0.4 → v0.0.5](https://github.com/vishvananda/netns/compare/v0.0.4...v0.0.5)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (1)
  9. tests/generics_test.go

    		if result.Name == u.Name {
    			if result.Company.Name != u.Company.Name {
    				t.Fatalf("Preload user %v company should be %v, but got %+v", u.Name, u.Company.Name, result.Company.Name)
    			}
    		} else if result.Company.Name != "" {
    			t.Fatalf("Preload other company should not loaded, user %v company expect %v but got %+v", u.Name, u.Company.Name, result.Company.Name)
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. tests/create_test.go

    	}
    }
    
    func TestFirstOrCreateWithPrimaryKey(t *testing.T) {
    	company := Company{ID: 100, Name: "company100_with_primarykey"}
    	DB.FirstOrCreate(&company)
    
    	if company.ID != 100 {
    		t.Errorf("invalid primary key after creating, got %v", company.ID)
    	}
    
    	companies := []Company{
    		{ID: 101, Name: "company101_with_primarykey"},
    		{ID: 102, Name: "company102_with_primarykey"},
    	}
    	DB.Create(&companies)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
Back to top