Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for resptr (0.11 sec)

  1. guava/src/com/google/common/io/FileBackedOutputStream.java

      }
    
      /**
       * Creates a new instance that uses the given file threshold, and optionally resets the data when
       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
       * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/lock-rest-server-common.go

    Klaus Post <******@****.***> 1700528975 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 973 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectorServices.java

            return new DefaultCancellationTokenSource();
        }
    
        public static void close() {
            singletonRegistry.close();
        }
    
        /**
         * Resets the state of connector services. Meant to be used only for testing!
         */
        public static void reset() {
            singletonRegistry.close();
            singletonRegistry = new ConnectorServiceRegistry();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/net/interface.go

    	zoneCache.RUnlock()
    	if !ok && !updated {
    		zoneCache.update(nil, true)
    		zoneCache.RLock()
    		name, ok = zoneCache.toName[index]
    		zoneCache.RUnlock()
    	}
    	if !ok { // last resort
    		name = itoa.Uitoa(uint(index))
    	}
    	return name
    }
    
    func (zc *ipv6ZoneCache) index(name string) int {
    	if name == "" {
    		return 0
    	}
    	updated := zoneCache.update(nil, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/storage/storage_codec.go

    	}
    	decoders := []runtime.Decoder{
    		// selected decoder as the primary
    		s,
    		// universal deserializer as a fallback
    		opts.StorageSerializer.UniversalDeserializer(),
    		// base64-wrapped universal deserializer as a last resort.
    		// this allows reading base64-encoded protobuf, which should only exist if etcd2+protobuf was used at some point.
    		// data written that way could exist in etcd2, or could have been migrated to etcd3.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 15:03:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataComparatorTest.groovy

            then:
            metadata == [jdk, jre]
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17195")
        def "compares installation paths as a last resort"() {
            given:
            def prevJdk = jvmMetadata("8.0.1", true, ADOPTOPENJDK, "/jdks/openjdk-8.0.1")
            def nextJdk = jvmMetadata("8.0.1", true, ADOPTOPENJDK, "/jdks/openjdk-8.0.1.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/mkbuiltin.go

    		}
    		return "types.Types[types.TINTER]"
    	case *ast.MapType:
    		return fmt.Sprintf("types.NewMap(%s, %s)", i.subtype(t.Key), i.subtype(t.Value))
    	case *ast.StarExpr:
    		return fmt.Sprintf("types.NewPtr(%s)", i.subtype(t.X))
    	case *ast.StructType:
    		return fmt.Sprintf("types.NewStruct(%s)", i.fields(t.Fields, true))
    
    	default:
    		log.Fatalf("unhandled type: %#v", t)
    		panic("unreachable")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/go/scanner/errors.go

    // Add adds an [Error] with given position and error message to an [ErrorList].
    func (p *ErrorList) Add(pos token.Position, msg string) {
    	*p = append(*p, &Error{pos, msg})
    }
    
    // Reset resets an [ErrorList] to no errors.
    func (p *ErrorList) Reset() { *p = (*p)[0:0] }
    
    // [ErrorList] implements the sort Interface.
    func (p ErrorList) Len() int      { return len(p) }
    func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultColorMapTest.groovy

            color = map.getColourFor(Style.FailureHeader)
            color.on(ansi)
    
            then:
            1 * ansi.fg(Color.MAGENTA)
            1 * ansi.a(Attribute.ITALIC)
    
            when: 'That color is turned off, it resets to default'
            color.off(ansi)
    
            then:
            1 * ansi.fg(Color.DEFAULT)
            1 * ansi.a(Attribute.ITALIC_OFF)
    
            when: 'A Style is overridden with a compound property'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

            when:
            createLock(lockMode, file, manager2)
    
            then:
            thrown(LockTimeoutException)
    
            where:
            lockMode << [Exclusive, Shared]
        }
    
        def "lock manage resets the timeout if the lock owner changes"() {
            given:
            FileLockContentionHandler contentionHandler3 = Mock(FileLockContentionHandler)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top