Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 318 for refs (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/lock/lock.go

    func (r *RLockedFile) IncLockRef() {
    	r.mutex.Lock()
    	r.refs++
    	r.mutex.Unlock()
    }
    
    // Close - this closer implements a special closer
    // closes the underlying fd only when the refs
    // reach zero.
    func (r *RLockedFile) Close() (err error) {
    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  2. schema/schema_helper_test.go

    			}
    
    			for _, ref := range relation.References {
    				var found bool
    				for _, rf := range r.References {
    					if (rf.PrimaryKey == nil || (rf.PrimaryKey.Name == ref.PrimaryKey && rf.PrimaryKey.Schema.Name == ref.PrimarySchema)) && (rf.PrimaryValue == ref.PrimaryValue) && (rf.ForeignKey.Name == ref.ForeignKey && rf.ForeignKey.Schema.Name == ref.ForeignSchema) && (rf.OwnPrimaryKey == ref.OwnPrimaryKey) {
    						found = true
    					}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. .github/workflows/docs.yml

    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 12 23:30:30 GMT 2025
    - 987 bytes
    - Click Count (0)
  4. .github/workflows/containers.yml

    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 15:26:25 GMT 2025
    - 872 bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
          // maintain strong refs so these won't be collected, regardless of cache's key/value strength
          Key key = new Key(1);
          String value = key.toString();
          assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. .github/workflows/arm-cd.yml

          - name: Upload pip wheel to PyPI
            if: github.event_name == 'schedule' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2')) # only if it is a scheduled nightly or tagged
            shell: bash
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. .ci/jobs.t/defaults.yml

        concurrent: true
        logrotate:
          daysToKeep: 30
          numToKeep: 500
          artifactDaysToKeep: 7
        parameters:
          - string:
              name: branch_specifier
              default: "refs/heads/%BRANCH%"
              description: "the Git branch specifier to build (&lt;branchName&gt;, &lt;tagName&gt;, &lt;commitId&gt;, etc.)\n"
        scm:
          - git:
              name: origin
    Created: Sun Dec 21 06:47:06 GMT 2025
    - Last Modified: Wed Sep 29 15:38:05 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/11-language-change.yml

    title: "proposal: spec: proposal title"
    
    
    body:
      - type: markdown
        attributes:
          value: |
           ## Our process for evaluating language changes can be found [here](https://go.googlesource.com/proposal/+/refs/heads/master#language-changes)
    
      - type: dropdown
        id: author-go-experience
        attributes:
          label: "Go Programming Experience"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 19:02:29 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

                        token {
                            token = "%github.bot-teamcity.token%"
                        }
                    filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
                    filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}"
                }
        }
    }
    
    fun BaseGradleBuildType.tcParallelTests(numberOfBatches: Int) {
        if (numberOfBatches > 1) {
            params {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      }
    
      @Benchmark
      int hashUtf8(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
                  hashFunctionEnum.getHashFunction().hashString(strings[i & SAMPLE_MASK], UTF_8));
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8Hasher(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top