Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 799 for Returned (0.05 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        long[] array = {(long) 0, (long) 1, (long) 2};
        List<Long> list = Longs.asList(array);
        long[] newArray = Longs.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (long) 4);
        assertThat(newArray).isEqualTo(new long[] {(long) 0, (long) 1, (long) 2});
        newArray[1] = (long) 5;
        assertThat((long) list.get(1)).isEqualTo((long) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		return
    	}
    
    	// It is required that parent user be set.
    	if res.Success.User == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New("A valid user was not returned by the authenticator."))
    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("a")).isNull()
    
        // Confirm the partial snapshot is not returned after a successful trim.
        filesystem.setFaultyDelete(cacheDir / "a.1", false)
        taskFaker.runNextTask()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    				return nil, time.Time{}, err
    			}
    			policy, _ = c.iamGroupPolicyMap.Load(name)
    			return policy.toSlice(), policy.UpdatedAt, nil
    		}
    		return nil, time.Time{}, nil
    	}
    
    	// returned policy could be empty, we use set to de-duplicate.
    	var policies set.StringSet
    	var updatedAt time.Time
    
    	if store.getUsersSysType() == LDAPUsersSysType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      /**
       * Creates a graph from a list of node pairs (encoded as strings, e.g. "ab" means that this graph
       * has an edge between 'a' and 'b').
       *
       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      /**
       * Creates a graph from a list of node pairs (encoded as strings, e.g. "ab" means that this graph
       * has an edge between 'a' and 'b').
       *
       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // +optional
      optional string reason = 3;
    
      // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.
      // Since messageExpression is used as a failure message, it must evaluate to a string.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. cmd/server-main.go

    			}
    		}
    	})
    }
    
    // Return the list of address that MinIO server needs to listen on:
    //   - Returning 127.0.0.1 is necessary so Console will be able to send
    //     requests to the local S3 API.
    //   - The returned List needs to be deduplicated as well.
    func getServerListenAddrs() []string {
    	// Use a string set to avoid duplication
    	addrs := set.NewStringSet()
    	// Listen on local interface to receive requests from Console
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (4)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        waitForThreadToEnterWaitState(thread, LONG_DELAY_MS);
      }
    
      /**
       * Returns the number of milliseconds since time given by startNanoTime, which must have been
       * previously returned from a call to {@link System#nanoTime()}.
       */
      long millisElapsedSince(long startNanoTime) {
        return NANOSECONDS.toMillis(System.nanoTime() - startNanoTime);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    		}
    		report := func(s []byte) string {
    			if s == nil {
    				return "nil"
    			} else {
    				return fmt.Sprintf("%q", s)
    			}
    		}
    		if len(actual) != 0 {
    			t.Errorf("%s(%s, %q) returned non-empty value", name, report(tc.in), tc.arg)
    		} else {
    			actualNil := actual == nil
    			outNil := tc.out == nil
    			if actualNil != outNil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top