Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,883 for shares (0.37 sec)

  1. src/image/image.go

    	s[0] = c.R
    	s[1] = c.G
    	s[2] = c.B
    	s[3] = c.A
    }
    
    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *RGBA) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats_test.go

    				Clock:             clk,
    				InformerFactory:   informerFactory,
    				FlowcontrolClient: flowcontrolClient,
    				// for the purposes of this test, serverCL ~= nominalCL since there is
    				// only 1 PL with large concurrency shares, making mandatory PLs negligible.
    				ServerConcurrencyLimit: testcase.nominalCL,
    				ReqsGaugeVec:           metrics.PriorityLevelConcurrencyGaugeVec,
    				ExecSeatsGaugeVec:      metrics.PriorityLevelExecutionSeatsGaugeVec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

    import org.junit.jupiter.api.extension.ParameterResolver
    
    /**
     * Runs MockWebServer for the duration of a single test method.
     *
     * Specifically while junit instances passes into test constructor
     * are typically shares amongst all tests, a fresh instance will be
     * received here. Use with @BeforeAll and @AfterAll, is not supported.
     *
     * There are 3 ids for instances
     * - The test instance default (passed into constructor)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashMultimapTest.java

                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(HashMultimapTest.class);
        return suite;
      }
    
      /*
       * The behavior of toString() is tested by TreeMultimap, which shares a
       * lot of code with HashMultimap and has deterministic iteration order.
       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/node_container_manager_linux.go

    		nodeAllocatable = cm.getNodeAllocatableInternalAbsolute()
    	}
    
    	cgroupConfig := &CgroupConfig{
    		Name: cm.cgroupRoot,
    		// The default limits for cpu shares can be very low which can lead to CPU starvation for pods.
    		ResourceParameters: getCgroupConfig(nodeAllocatable),
    	}
    	if cm.cgroupManager.Exists(cgroupConfig.Name) {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        response.body.close()
    
        // This client shares a connection pool but has a different SSL socket factory.
        val handshakeCertificates2 = HandshakeCertificates.Builder().build()
        val anotherClient =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/image/ycbcr.go

    	}
    	// Default to 4:4:4 subsampling.
    	return (y-p.Rect.Min.Y)*p.CStride + (x - p.Rect.Min.X)
    }
    
    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *YCbCr) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/ModuleExclusions.java

                    new CachingExcludeFactory(// caches the result of optimization operations
                        new DefaultExcludeFactory(), // the end of the chain, mandatory
                        mergeCaches // shares the same caches as the top level one as after reducing we can find already cached merge operations
                    )
                )),
                mergeCaches
            )
        );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            def copy = property.shallowCopy()
            property.set(someOtherValue())
    
            then:
            copy.orNull != property.orNull
            copy.orNull == someValue()
        }
    
        def "shallow copy shares the type with the property"() {
            given:
            def property = propertyWithValue(someValue())
    
            expect:
            property.type == property.shallowCopy().type
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/log/slog/record_test.go

    	r1.AddAttrs(intAttrs(0, nAttrsInline+1)...)
    	// Ensure that r1.back's capacity exceeds its length.
    	b := make([]Attr, len(r1.back), len(r1.back)+1)
    	copy(b, r1.back)
    	r1.back = b
    	// Make a copy that shares state.
    	r2 := r1
    	// Adding to both should insert a special Attr in the second.
    	r1AttrsBefore := attrsSlice(r1)
    	r1.AddAttrs(Int("p", 0))
    	r2.AddAttrs(Int("p", 1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top