Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,836 for result (0.07 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

          types[i] = resolveType(types[i]);
        }
        return types;
      }
    
      private Type[] resolveTypes(Type[] types) {
        Type[] result = new Type[types.length];
        for (int i = 0; i < types.length; i++) {
          result[i] = resolveType(types[i]);
        }
        return result;
      }
    
      private WildcardType resolveWildcardType(WildcardType type) {
        Type[] lowerBounds = type.getLowerBounds();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * one or more such elements. Returns {@code true} if this queue contained the specified element
       * (or equivalently, if this queue changed as a result of the call).
       *
       * @param o element to be removed from this queue, if present
       * @return {@code true} if this queue changed as a result of the call
       */
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@Nullable Object o) {
        if (o == null) return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    upperVersion = new DefaultArtifactVersion(upperBound);
                }
    
                if (upperVersion != null && lowerVersion != null) {
                    int result = upperVersion.compareTo(lowerVersion);
                    if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) {
                        throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final ObjectMapper objectMapper = new YAMLMapper();
            try {
                @SuppressWarnings("unchecked")
                final List<Map<?, ?>> result = objectMapper.readValue(content, List.class);
                if (result != null) {
                    return result.stream().map(o -> new Artifact((String) o.get("name"), (String) o.get("version"), (String) o.get("url")))
                            .collect(Collectors.toList());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. internal/crypto/header_test.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestIsRequested(t *testing.T) {
    	for i, test := range kmsIsRequestedTests {
    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    			t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got)
    		}
    		got = got && S3KMS.IsRequested(test.Header)
    		if got != test.Expected {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Callable<String>> callables = ImmutableList.of(Callables.returning("x"));
        List<Future<String>> results;
    
        results = service.invokeAll(callables);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        results = service.invokeAll(callables, 1, SECONDS);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. internal/lock/lock_test.go

    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    		t.Fatal(err)
    	}
    
    	_, err = newRLockedFile(nil)
    	if err != os.ErrInvalid {
    		t.Fatal("Unexpected error", err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/operand_test.go

    		parser.start(lex.Tokenize(test.input))
    		addr := obj.Addr{}
    		parser.operand(&addr)
    		var result string
    		if parser.allowABI {
    			result = obj.DconvWithABIDetail(&emptyProg, &addr)
    		} else {
    			result = obj.Dconv(&emptyProg, &addr)
    		}
    		if result != test.output {
    			t.Errorf("fail at %s: got %s; expected %s\n", test.input, result, test.output)
    		}
    	}
    }
    
    func TestAMD64OperandParser(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return vol, err
    	}
    	defer done(0, &err)
    
    	return xioutil.WithDeadline[VolInfo](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (result VolInfo, err error) {
    		return p.storage.StatVol(ctx, volume)
    	})
    }
    
    func (p *xlStorageDiskIDCheck) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        }
        return zeroToTwentyNine;
      }
    
      private static <E> Set<Set<E>> toHashSets(Set<Set<E>> powerSet) {
        Set<Set<E>> result = newHashSet();
        for (Set<E> subset : powerSet) {
          result.add(new HashSet<E>(subset));
        }
        return result;
      }
    
      private static Object objectWithHashCode(final int hashCode) {
        return new Object() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top