Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ResNclose (0.75 sec)

  1. src/net/cgo_unix_syscall.go

    	x, _ := unix.ResNsearch(state, dname, class, typ, ans, anslen)
    	return x
    }
    
    func _C_res_nclose(state *_C_struct___res_state) {
    	unix.ResNclose(state)
    }
    
    func cgoNameinfoPTR(b []byte, sa *syscall.RawSockaddr, salen int) (int, error) {
    	gerrno, err := unix.Getnameinfo(sa, salen, &b[0], len(b), nil, 0, unix.NI_NAMEREQD)
    	return int(gerrno), err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/net_darwin.go

    		0, 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    //go:cgo_import_dynamic libresolv_res_9_nclose res_9_nclose "/usr/lib/libresolv.9.dylib"
    func libresolv_res_9_nclose_trampoline()
    
    func ResNclose(state *ResState) {
    	syscall_syscall(abi.FuncPCABI0(libresolv_res_9_nclose_trampoline),
    		uintptr(unsafe.Pointer(state)),
    		0, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 13:41:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    		}
    		testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testClose struct { // Close() == wantErr
    			wantErr error
    		}
    		testFnc any // testHeader | testWrite | testReadFrom | testClose
    	)
    
    	vectors := []struct {
    		file  string // Optional filename of expected output
    		tests []testFnc
    	}{{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

    import java.io.OutputStream;
    
    import org.junit.Test;
    
    /**
     * @author shot
     */
    public class CloseableUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    	s.Close()
    	var opErr *net.OpError
    	if !errors.As(err, &opErr) || opErr.Err != error(alertUnknownCA) {
    		t.Errorf("Got error: %s; expected: %s", err, error(alertUnknownCA))
    	}
    }
    
    func TestClose(t *testing.T) {
    	c, s := localPipe(t)
    	go c.Close()
    
    	err := Server(s, testConfig).Handshake()
    	s.Close()
    	if err != io.EOF {
    		t.Errorf("Got error: %s; expected: %s", err, io.EOF)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      status = file->Tell(&position);
      EXPECT_EQ(status.code(), Code::OK);
      EXPECT_EQ(position, test_data.size());
    }
    
    TEST_P(ModularFileSystemTest, TestClose) {
      const std::string filename = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> file;
      Status status = env_->NewWritableFile(filename, &file);
      if (!status.ok())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    ta:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Ce(e)}}},or=[],sr={mixins:[hn,rr,un],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Ce(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggl...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal_test.go

    		EndElement{Name{"", "foo"}},
    	},
    	want: `<foo></foo>`,
    }, {
    	desc: "directive",
    	toks: []Token{
    		Directive("foo"),
    	},
    	want: `<!foo>`,
    }}
    
    func TestClose(t *testing.T) {
    	for _, tt := range closeTests {
    		tt := tt
    		t.Run(tt.desc, func(t *testing.T) {
    			var out strings.Builder
    			enc := NewEncoder(&out)
    			for j, tok := range tt.toks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework_test.go

    			}
    			got := f.ListPlugins()
    			if diff := cmp.Diff(tt.want, got); diff != "" {
    				t.Errorf("unexpected plugins (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestClose(t *testing.T) {
    	tests := []struct {
    		name    string
    		plugins *config.Plugins
    		wantErr error
    	}{
    		{
    			name: "close doesn't return error",
    			plugins: &config.Plugins{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top