Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Try (0.5 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            10);
      }
    
      public void testOfNullKey() {
        try {
          ImmutableMap.of(null, 1);
          fail();
        } catch (NullPointerException expected) {
        }
    
        try {
          ImmutableMap.of("one", 1, null, 2);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testOfNullValue() {
        try {
          ImmutableMap.of("one", null);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                    runCallCount++
                  }
                  awaitTaskToRun()
                } ?: return
    
              logger.logElapsed(task, task.queue!!) {
                var completedNormally = false
                try {
                  runTask(task)
                  completedNormally = true
                } finally {
                  // If the task is crashing start another thread to service the queues.
                  if (!completedNormally) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        } else {
          serialTaskQueue.addLast(yieldCompleteTask)
        }
    
        val startedTask = startNextTask()
        val otherTasksStarted = startedTask != yieldCompleteTask
    
        try {
          while (currentTask != self) {
            taskRunner.condition.await()
          }
        } finally {
          serialTaskQueue.remove(yieldCompleteTask)
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          // the range have a lower bound
          throw new IllegalArgumentException(
              "Neither the DiscreteDomain nor this range set are bounded below");
        } else if (!span.hasUpperBound()) {
          try {
            domain.maxValue();
          } catch (NoSuchElementException e) {
            throw new IllegalArgumentException(
                "Neither the DiscreteDomain nor this range set are bounded above");
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. cni/README.md

        - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
        - injects the CNI plugin config to the CNI config file
            - CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`)
            - the file name can be explicitly set by `CNI_CONF_NAME` env var
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        public boolean removeAll(Collection<?> c) {
          try {
            return super.removeAll(checkNotNull(c));
          } catch (UnsupportedOperationException e) {
            // if the iterators don't support remove
            return Sets.removeAllImpl(this, c.iterator());
          }
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          try {
            return super.retainAll(checkNotNull(c));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  9. helm-releases/minio-5.2.0.tgz

    echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} anonymous set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} {{ $global := . }} # Create the buckets {{- range .Values.buckets }} createBucket {{ tpl .name...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          }
          builder.put(key, valuesBuilder.build());
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
          tmpMap = builder.buildOrThrow();
        } catch (IllegalArgumentException e) {
          throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top