Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 2,283 for else (0.04 sec)

  1. src/main/java/jcifs/netbios/Name.java

            int e = i - this.scope.length();
            int c = 0;
    
            do {
                if ( dst[ i ] == '.' ) {
                    dst[ i ] = (byte) c;
                    c = 0;
                }
                else {
                    c++;
                }
            }
            while ( i-- > e );
            return this.scope.length() + 2;
        }
    
    
        int readScopeWireFormat ( byte[] src, int srcIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        break;
                    case 5:
                        if (ch == '=') {
                            key = str.substring(mark, si).trim();
                            mark = si + 1;
                        } else if (ch == ',' || ch == ']') {
                            String val = str.substring(mark, si).trim();
                            if (key == null)
                                key = "endpoint";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        int oldCount = backingMap.getValue(entryIndex);
        int numberRemoved;
        if (oldCount > occurrences) {
          numberRemoved = occurrences;
          backingMap.setValue(entryIndex, oldCount - occurrences);
        } else {
          numberRemoved = oldCount;
          backingMap.removeEntry(entryIndex);
        }
        size -= numberRemoved;
        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_remote_test_util.cc

        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else {
        // Handles are on task0 (local), and task2, but op is on task1.
        matmul = MatMulOp(ctx, h0_task0, h1_task2);
      }
      if (remote) {
        TFE_OpSetDevice(matmul, task1_name, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else if (!async) {
        // Set the local device to CPU to easily validate mirroring
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

        }
    
        static ActivationSettings of(final boolean active, final boolean optional) {
            if (optional) {
                return active ? ACTIVATION_OPTIONAL : DEACTIVATION_OPTIONAL;
            } else {
                return active ? ACTIVATION_REQUIRED : DEACTIVATION_REQUIRED;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tests/main_test.go

    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    }
    
    fun Stage.getBuildScanCustomValueParam(testCoverage: TestCoverage? = null): String {
        val customValues = if (testCoverage != null) {
            listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
        } else {
            getBuildScanCustomValues()
        }
        return "-DbuildScan.PartOf=${customValues.joinToString(",")}"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

        public MultipleCrawlingAccessException(final String message, final Throwable[] throwables) {
            super(message);
            if (throwables == null) {
                this.throwables = new Throwable[0];
            } else {
                this.throwables = throwables;
            }
        }
    
        @Override
        public void printStackTrace(final PrintStream s) {
            super.printStackTrace(s);
    
            int count = 1;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Adjusting server name " + s + " to " + fqdn);
                    }
                    this.server = fqdn;
                }
                else {
                    log.warn("Have unmappable netbios name " + s);
                }
            }
        }
    
    
        /**
         * @return the resolveHashes
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
Back to top