Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for given (0.17 sec)

  1. cmd/sts-handlers_test.go

    	}
    	testApps := testClientApps
    
    	rolePolicies := []string{
    		"", // Treated as claim-based provider as no role policy is given.
    		"", // Treated as claim-based provider as no role policy is given.
    	}
    
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    			panic(fmt.Sprintf("header: %x != object id: %x", x.versions[idx].header.VersionID, dst.getVersionID()))
    		}
    	}
    	return &dst, err
    }
    
    // setIdx will replace a version at a given index.
    // Note that versions may become re-sorted if modtime changes.
    func (x *xlMetaV2) setIdx(idx int, ver xlMetaV2Version) (err error) {
    	if idx < 0 || idx >= len(x.versions) {
    		return errFileNotFound
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. cmd/batch-handlers.go

    	return nil
    }
    
    // Note: to be used only with batch jobs that affect multiple versions through
    // a single action. e.g batch-expire has an option to expire all versions of an
    // object which matches the given filters.
    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    		ri.ObjectsFailed += int64(info.NumVersions)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://@host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://user@host/path"))
          .isEqualTo(parse("http://user@host/path"))
      }
    
      /**
       * Given multiple '@' characters, the last one is the delimiter.
       */
      @Test
      fun authorityWithMultipleAtSigns() {
        val httpUrl = parse("http://foo@bar@baz/path")
        assertThat(httpUrl.username).isEqualTo("foo@bar")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
       * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
       * for any given call to {@code cache.get} or {@code cache.getUnchecked} is the value returned, or
       * the exception thrown.
       *
       * <p>As we iterate from {@code 0} to {@code nThreads}, threads with an even index will call
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
       * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
       * for any given call to {@code cache.get} or {@code cache.getUnchecked} is the value returned, or
       * the exception thrown.
       *
       * <p>As we iterate from {@code 0} to {@code nThreads}, threads with an even index will call
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    }
    
    // Workloader is used for matching all configs
    type Workloader interface {
    	GetSelector() *typev1beta1.WorkloadSelector
    }
    
    // findMatchedConfigs should filter out unrelated configs that are not matched given podsLabels.
    // When the config has no selector labels, this method will treat it as qualified namespace level
    // config. So configs passed into this method should only contains workload's namespaces configs
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    	if length > 0 {
    		endOffset += length - 1
    	}
    
    	// Get last part index to read given length.
    	lastPartIndex, _, err := fi.ObjectToPartOffset(ctx, endOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	var totalBytesRead int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. tensorflow/c/c_api_function_test.cc

      char proto[] = {0x0, 0x0, 0x0, 0x0};
      func_ = TF_FunctionImportFunctionDef(proto, 4, s_);
      EXPECT_TRUE(func_ == nullptr);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Invalid FunctionDef given to TF_FunctionImportFunctionDef"),
                string(TF_Message(s_)));
    }
    
    TEST_F(CApiFunctionTest, Attribute) {
      DefineFunction(func_name_, &func_);
    
      // Get non existent attribute
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  10. src/cmd/cgo/gcc.go

    	}
    }
    
    // Expr for integer n.
    func (c *typeConv) intExpr(n int64) ast.Expr {
    	return &ast.BasicLit{
    		Kind:  token.INT,
    		Value: strconv.FormatInt(n, 10),
    	}
    }
    
    // Add padding of given size to fld.
    func (c *typeConv) pad(fld []*ast.Field, sizes []int64, size int64) ([]*ast.Field, []int64) {
    	n := len(fld)
    	fld = fld[0 : n+1]
    	fld[n] = &ast.Field{Names: []*ast.Ident{c.Ident("_")}, Type: c.Opaque(size)}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top