Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,644 for ELSE (0.01 sec)

  1. android/guava/src/com/google/common/graph/MapIteratorCache.java

        checkNotNull(key);
        V value = getIfCached(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return getWithoutCaching(key);
        } else {
          return value;
        }
      }
    
      final @Nullable V getWithoutCaching(Object key) {
        checkNotNull(key);
        return backingMap.get(key);
      }
    
      final boolean containsKey(@Nullable Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Register the SMB protocol handler
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
            } else if (!pkgs.contains("jcifs.smb1")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1");
            }
        }
    
        @Test
        @DisplayName("getDefaultPort returns SMB default port 445")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      val isRedirect: Boolean =
        when (code) {
          HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> true
          else -> false
        }
    
      @JvmName("-deprecated_networkResponse")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "networkResponse"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

        if (table instanceof ImmutableTable) {
          @SuppressWarnings("unchecked")
          ImmutableTable<R, C, V> parameterizedTable = (ImmutableTable<R, C, V>) table;
          return parameterizedTable;
        } else {
          return copyOf(table.cellSet());
        }
      }
    
      static <R, C, V> ImmutableTable<R, C, V> copyOf(
          Iterable<? extends Cell<? extends R, ? extends C, ? extends V>> cells) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
          for (Entry<?, ?> entry : enumMap.entrySet()) {
            checkNotNull(entry.getKey());
            checkNotNull(entry.getValue());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. cmd/erasure.go

    				healingInfos = append(healingInfos, infos[i])
    			}
    			continue
    		}
    
    		if !info.Scanning {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		} else {
    			scanningDisks = append(scanningDisks, disks[i])
    			scanningInfos = append(scanningInfos, infos[i])
    		}
    	}
    
    	// Prefer non-scanning disks over disks which are currently being scanned.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    		buf := new(bytes.Buffer)
    		w := NewWriter(buf)
    		if err := w.SetComment(test.comment); err != nil {
    			if test.ok {
    				t.Fatalf("SetComment: unexpected error %v", err)
    			}
    			continue
    		} else {
    			if !test.ok {
    				t.Fatalf("SetComment: unexpected success, want error")
    			}
    		}
    
    		if err := w.Close(); test.ok == (err != nil) {
    			t.Fatal(err)
    		}
    
    		if w.closed != test.ok {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // a future that eventually came from immediateFuture(null), this doesn't leak
                // throwables or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
                // If this CAS succeeds, we know that the provided callable will never be invoked,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                for (i = 0, u = 0; i < end; i++) {
                    c = userInfo.charAt(i);
                    if (c == ';') {
                        domain = userInfo.substring(0, i);
                        u = i + 1;
                    } else if (c == ':') {
                        password = userInfo.substring(i + 1);
                        break;
                    }
                }
                username = userInfo.substring(u, i);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top